package com.ruoyi.iot.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 第三方服务配置对象 iot_service_config
 *
 * @author rww
 * @date 2023-09-22
 */
public class IotServiceConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 字典键 */
    @Excel(name = "字典键")
    private String keyType;

    /** 值 */
    @Excel(name = "值")
    private String keyValue;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer system;

    /** 删除标记 */
    private String delFlag;


    ///////////////////////////////////////
    public static final String key_ys_open = "ys_open";//萤石
    ///////////////////////////////////////
    ///////////////////////////////////

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setKeyType(String keyType)
    {
        this.keyType = keyType;
    }

    public String getKeyType()
    {
        return keyType;
    }
    public void setKeyValue(String keyValue)
    {
        this.keyValue = keyValue;
    }

    public String getKeyValue()
    {
        return keyValue;
    }
    public void setSystem(Integer system)
    {
        this.system = system;
    }

    public Integer getSystem()
    {
        return system;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("keyType", getKeyType())
            .append("keyValue", getKeyValue())
            .append("system", getSystem())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
